<?php
/**
 * The Template for displaying all single posts.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */

get_header(); 
?>

<div class="content_inner">
	<div>
		<div class="<?php if( cc_is_link_iframe($post->ID) ){ echo"content_text_holder3"; } else{ echo"content_text_holder2";}?>">
			<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
			
					<?php if(! cc_is_link_iframe($post->ID) ){ ?>
							<div class="content_title"><?php the_title(); ?></div>
							<br/>
					<?php }?>
							
					<div class="entry-content">
						<?php if( cc_is_link_iframe($post->ID) ){ ?>
								<?php echo $post->post_content; ?>
								<iframe src="<?php echo cc_get_link_url($post->ID);?>"  class="featured_frame"></iframe>
						<?php }else{ ?>
								<?php echo $post->post_content; ?>
						<?php } ?>
					</div>
			</div>		
		</div>
	</div><!-- END Content Left -->
</div><!-- END content -->

</div><!-- END content holder -->

<?php if( !cc_is_link_iframe($post->ID) ){ 
?>
<div class="content_holder_footer2"></div>
<?php
} 
?>



<?php get_footer(); ?>
